[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api009.nas"]

    GLOBAL _api_win_line

[SECTION .text]

_api_win_line:      ; void api_win_line(int win, int x0, int y0, int x1, int y1, int col);
    push edi
    push esi
    push ebp
    push ebx
    mov edx, 9
    mov ebx, [esp+20]   ; win
    mov eax, [esp+24]   ; x0
    mov ecx, [esp+28]   ; y0
    mov esi, [esp+32]   ; x1
    mov edi, [esp+36]   ; y1
    mov ebp, [esp+40]   ; col
    int 40h
    pop ebx
    pop ebp
    pop esi
    pop edi
    ret
